//
//  ZZPayHandler.h
//  ExpertApp
//
//  Created by zhangxy on 2017/9/13.
//  Copyright © 2017年 sjhz. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, ZZPayType) {
    ZZPayTypeZFB = 1,
    ZZPayTypeWX  = 2,
};

@interface ZZPayHandler : NSObject



/**
 支付
 @param payType 1支付宝，2微信
 @param params 关联的ID
 @param payResult 支付结果, code = 0 成功
 */
+(void) startJumppay:(ZZPayType) payType order:(NSDictionary *)params result:(void(^)(int code,NSDictionary *msg)) payResult;

+(void) startVipPay:(ZZPayType) payType order:(NSString *)orderId result:(void(^)(int code,NSDictionary *msg)) payResult;

@end
